package com.hxgz.steel.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel("商品型号")
public class ProductModel {

  private Long id;

  @ApiModelProperty("商品id")
  private Long productId;

  @ApiModelProperty("型号")
  private String model;

  @ApiModelProperty("颜色")
  private String color;

  @ApiModelProperty("价格")
  private BigDecimal price;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getProductId() {
    return productId;
  }

  public void setProductId(Long productId) {
    this.productId = productId;
  }

  public String getModel() {
    return model;
  }

  public void setModel(String model) {
    this.model = model == null ? null : model.trim();
  }

  public String getColor() {
    return color;
  }

  public void setColor(String color) {
    this.color = color == null ? null : color.trim();
  }

  public BigDecimal getPrice() {
    return price;
  }

  public void setPrice(BigDecimal price) {
    this.price = price;
  }
}